package com.jinxin.platform.cdsideparkmgr.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

import java.time.LocalDateTime;

/**
 * <b>[cdyardmgr_car_inside]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2022-09-15
 */
public class CdyardmgrCarInside {

	/**
	 * 场内车辆ID
	 */
	private String id;
	
	/**
	 * 车辆类别
	 */
	private String category;
	
	/**
	 * 车牌号
	 */
	private String carNo;
	
	/**
	 * 入场时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime enterTime;
	
	/**
	 * 停留时长(分钟)
	 */
	private Long stayTime;

	private String stayTimeStr;
	
	/**
	 * 车主手机号码
	 */
	private String phone;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 项目ID
	 */
	private String projectId;

	/**
	 * 是否删除1是0否
	 */
	private Integer isDel;


	/**
	 * 场内车辆ID
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 车辆类别
	 * 
	 * @return category
	 */
	public String getCategory() {
		return category;
	}
	
	/**
	 * 车牌号
	 * 
	 * @return carNo
	 */
	public String getCarNo() {
		return carNo;
	}
	
	/**
	 * 入场时间
	 * 
	 * @return enterTime
	 */
	public LocalDateTime getEnterTime() {
		return enterTime;
	}
	
	/**
	 * 停留时长(分钟)
	 * 
	 * @return stayTime
	 */
	public Long getStayTime() {
		return stayTime;
	}
	
	/**
	 * 车主手机号码
	 * 
	 * @return phone
	 */
	public String getPhone() {
		return phone;
	}
	
	/**
	 * 备注
	 * 
	 * @return remark
	 */
	public String getRemark() {
		return remark;
	}
	
	/**
	 * 项目ID
	 * 
	 * @return projectId
	 */
	public String getProjectId() {
		return projectId;
	}
	

	/**
	 * 场内车辆ID
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 车辆类别
	 * 
	 * @param category
	 */
	public void setCategory(String category) {
		this.category = category;
	}
	
	/**
	 * 车牌号
	 * 
	 * @param carNo
	 */
	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}
	
	/**
	 * 入场时间
	 * 
	 * @param enterTime
	 */
	public void setEnterTime(LocalDateTime enterTime) {
		this.enterTime = enterTime;
	}
	
	/**
	 * 停留时长(分钟)
	 * 
	 * @param stayTime
	 */
	public void setStayTime(Long stayTime) {
		this.stayTime = stayTime;
	}
	
	/**
	 * 车主手机号码
	 * 
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	/**
	 * 备注
	 * 
	 * @param remark
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	/**
	 * 项目ID
	 * 
	 * @param projectId
	 */
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	/**
	 * 是否删除1是0否
	 *
	 * @return isDel
	 */
	public Integer getIsDel() {
		return isDel;
	}

	/**
	 * 是否删除1是0否
	 *
	 * @param isDel
	 */
	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public String getStayTimeStr() {
		return stayTimeStr;
	}

	public void setStayTimeStr(String stayTimeStr) {
		this.stayTimeStr = stayTimeStr;
	}
}